package com.sptpc.demo1.repository;


import com.sptpc.demo1.model.Order;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderRepository extends JpaRepository<Order,Integer> {
    List<Order> findOrdersByCustomerAndState(String customer, Integer state);
}
